package com.cskaoyan.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author stone
 * @date 2022/10/07 10:06
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class BaseRespVo {
    String msg;
    int status;

    public static BaseRespVo ok() {
        return new BaseRespVo("成功访问", 200);
    }
    public static BaseRespVo ok(String msg) {
        return new BaseRespVo(msg, 200);
    }
}
